package dryven.util.json.dryvenjson;

import java.io.IOException;

import dryven.model.di.LocalThreadStorage;
import dryven.util.json.JsonEncoder;

public interface JSONTypeEncoder {
	public boolean isApplicableForType(Class<?> type);
	public void encodeValue(Object value, JSONCompositeEncoder e, FieldPolicy p, LocalThreadStorage diStorage, Appendable dest) throws IOException;
}
